public class MainOCP{
	public static void main(String[] args){
		Shape[] obj = new Shape[2];
		obj[0] = new RectangleOCP(2,10);
		obj[1] = new CircleOCP(3);

		AreaCalculatorOCP ac = new AreaCalculatorOCP();
		int temp = ac.Area(obj);
		System.out.println(temp);
	}
}
